package com.twinkle.user.biz.mapper;

import com.twinkle.user.biz.model.entity.RolePermissionRel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【t_role_permission_rel(用户权限表)】的数据库操作Mapper
* @createDate 2025-08-22 16:39:38
* @Entity com.twinkle.auth.model.entity.RolePermissionRel
*/
public interface RolePermissionRelMapper {

    int deleteByPrimaryKey(Long id);

    int insert(RolePermissionRel record);

    int insertSelective(RolePermissionRel record);

    RolePermissionRel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RolePermissionRel record);

    int updateByPrimaryKey(RolePermissionRel record);

    List<RolePermissionRel> selectByRoleIds(@Param("roleIds") List<Long> roleIds);
}
